var express = require('express')
, app = express()
, RedisStore = require('connect-redis') (express);

app.use(express.cookieParser());
app.use(express.session({store: new RedisStore, secret: "hash string"}));

app.get('/', function(req, res) {
    console.log(req.sessionID);
    res.send(req.sessionID);
});

app.listen(12346);
